﻿using System;
using System.Collections.Generic;

namespace QuanLyHocPhi.Model
{
    public partial class NamHoc
    {
        public override string ToString()
        {
            try
            {
                var namHoc = Convert.ToInt32(this.TenNamHoc);
                return string.Format("{0}-{1}", namHoc, namHoc + 1);
                //return TenNamHoc;
            }
            catch
            {
                return this.TenNamHoc;
            }
        }
    }
}